package xyz.shenmegui.foodcheckserver.service;

import xyz.shenmegui.foodcheckserver.DO.Food;

import java.util.List;
import java.util.Map;

public interface FoodService {

    Map searchFoodByName(String name);

    List<Food> searchFoodListByName(String name);

    Food getFoodById(Integer id);

    List<Food> selectTop10();

    int updateOrFoods(List<Food> foods);
}
